#pragma once

#include <ice/ice.h>

#pragma comment(lib , "iced.lib")
#pragma comment(lib , "iceutild.lib")

#include "DBProtocal.h"

class ProDBCL ;

using namespace DBServerProtocal ;

class RecvDBC2SProtocalCBCL : public DBC2SProtocalCB
{
public:
    RecvDBC2SProtocalCBCL(ProDBCL * parent_);
	virtual ~RecvDBC2SProtocalCBCL();

public:
	void GSLoginSuccessCB_async(const ::DBServerProtocal::AMD_DBC2SProtocalCB_GSLoginSuccessCBPtr&, bool, const ::Ice::Current& = ::Ice::Current()) ;
	void IsUserPermissionCB_async(const ::DBServerProtocal::AMD_DBC2SProtocalCB_IsUserPermissionCBPtr&, const ::std::string&, ::Ice::Int , const ::Ice::Current& = ::Ice::Current());
    void GetUserInfoCB_async(const ::DBServerProtocal::AMD_DBC2SProtocalCB_GetUserInfoCBPtr&, const ::DBServerProtocal::UserInfo&, const ::Ice::Current& = ::Ice::Current()) ;

public:
	ProDBCL * GetParent() ;

protected:
	ProDBCL    * m_parent ;
};
